

//@flow

/**
 * 服务器错误 响应
 */
import { Props } from "../baseModal/responseBaseModal";
import { ResponseBaseModal } from "../baseModal/responseBaseModal";
import { REDIRECT_CODE, SERVER_ERROR_CODE } from "../../responseCode";
export class ServerError extends ResponseBaseModal {
    constructor(data:any){
        super(data)
        this.code = SERVER_ERROR_CODE;
        this.message = '服务器异常'
        this.data = data;
    }
}